{"version":3,"sources":["google_images_card.js"],"names":["BX","namespace","create","Landing","Utils","append","prepend","remove","itemAdapter","item","google","image","link","credit","dimensions","width","height","onClick","onPictureChange","bind","itemsAdapter","items","map","UI","Card","Google","data","Library","apply","this","arguments","page","query","loader","Loader","target","body","offset","top","client","Client","getInstance","onSearchWithDebounce","debounce","showPopular","prototype","constructor","__proto__","onLoadMore","appendSearch","state","showBottomLoader","hideLoadMore","hideError","search","then","res","hideBottomLoader","showLoadMore","renderItems","catch","showError","showLoader","allowKeyChange","showSettingsButton","hideSettingsButton","settingsButton","props","className","html","Loc","getMessage","events","click","onSettingsClick","appendChild","hidden","event","preventDefault","Panel","GoogleImagesSettings","show","searchField","input","innerHTML","onSearchInput","field","getValue","length","hideLoader","clearItems","hideEmptyResult","showEmptyResult","path","url","util","add_url_param","sessid","bitrix_sessid","onChange","ext","getExtension","name","getFileName","createKeyError","children","createError","call","error","key","insertAfter","imageList"],"mappings":"CAAC,WACA,aAEAA,GAAGC,UAAU,sBAEb,IAAIC,EAASF,GAAGG,QAAQC,MAAMF,OAC9B,IAAIG,EAASL,GAAGG,QAAQC,MAAMC,OAC9B,IAAIC,EAAUN,GAAGG,QAAQC,MAAME,QAC/B,IAAIC,EAASP,GAAGG,QAAQC,MAAMG,OAC9B,IAAIL,EAASF,GAAGG,QAAQC,MAAMF,OAQ9B,SAASM,EAAYC,EAAMC,GAE1B,OACCC,MAAOF,EAAKG,KACZC,UACAC,YACCC,MAAON,EAAKE,MAAMI,MAClBC,OAAQP,EAAKE,MAAMK,QAEpBC,QAASP,EAAOQ,gBAAgBC,KAAKT,EAAQD,EAAKG,OAWpD,SAASQ,EAAaC,EAAOX,GAE5B,OAAOW,EAAMC,IAAI,SAASb,GACzB,OAAOD,EAAYC,EAAMC,KAW3BV,GAAGG,QAAQoB,GAAGC,KAAKC,OAAS,SAASC,GAEpC1B,GAAGG,QAAQoB,GAAGC,KAAKG,QAAQC,MAAMC,KAAMC,WACvCD,KAAKE,KAAO,EACZ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